<?php
// +----------------------------------------------------------------------
// | Copyright (c) 2020 All rights reserved.
// +----------------------------------------------------------------------
// | User: Simony <1362229026@qq.com>
// | wechat: Shen86579595
// +----------------------------------------------------------------------

namespace app\common\model\chat;

use app\common\model\Base;

use think\db;

class ChatRecord extends Base
{
    protected $name = 'chat_record';
    public $types = [ //-1提示|0文字|1图片|2语音|3视频|4文件|5红包|6位置
        -1 => '提示',
        0 => '文字',
        1 => '图片',
        2 => '语音',
        3 => '视频',
        4 => '文件',
        5 => '红包',
        6 => '位置',
    ];
    public $statuss = [ //'-1红包消息待生效|0正常|1发送方删除|2接收方删除|3撤回
        -1 => '红包消息待生效',
        0 => '正常',
        1 => '发送方删除',
        2 => '接收方删除',
        3 => '撤回',
    ];

    public $msg_types =[ //0聊天消息,1评价通知 2节目通知 3报名通知 4申请通知 5评论通知 6收益提醒通知 7消息通知 8申请邀请码 9客服消息
        0=>'聊天消息',
        1=>'评价通知',
        2=>'节目通知',
        3=>'报名通知',
        4=>'申请通知',
        5=>'评论通知',
        6=>'收益提醒',
        7=>'消息通知',
        8=>'申请邀请码',
        9=>'客服消息',
    ];
}
